package com.itheima.reggie.dto;

import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.DishFlavor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class DishDTO extends Dish {

    //对应菜品的口味数据
    private List<DishFlavor> flavors = new ArrayList<>();

    //定义菜品分类名称，满足查询菜品分页数据
    private String categoryName;

    private Integer copies;

}
